import json

new_list = ['aaa', '你好', 'aaa']
with open('test3.json', 'w', encoding='utf-8') as f:
    json.dump(new_list, f, ensure_ascii=False, indent=1)  # 以中文显示，且显示缩进

# with open('test3.json', 'w', encoding='utf-8') as f:
#     json.dump(['aaa', 'bbb', 'ccc'], f)
